package cn.lcc.pet.mapper;

import cn.lcc.pet.domain.Pet;
import cn.lcc.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-11-12
 */
public interface PetMapper extends BaseMapper<Pet> {

    void updateState(@Param("ids") Long[] ids, @Param("date") Date date);
    void updateOnSaleState(@Param("id") Long id, @Param("date") Date date);
}
